<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/settings.php');
require_once(Settings::getHome().'/classes/template.php');
$page = new Template('/templates/layout.xhtml', 
        array(
            '#TITLE#'=>'Inicio',
            '#CSS#'=> '<link href="/css/carousel.css" rel="stylesheet" type="text/css" />
                       <link href="/css/inicio.css" rel="stylesheet" type="text/css" />',
            '#JS#' => '<script type="text/javascript" src="/js/jquery-1.4.4.min.js"></script>
                       <script type="text/javascript" src="/js/indexJS.js"></script>',
            '#MENU_INICIO#' => 'current',
            '#BANNERTOP#' => Template::renderStatic('/templates/carousel.xhtml',array()),
            '#CONTENT#' => Template::renderStatic('/templates/index.xhtml',array()),
        )
    );
require(Settings::getHome().'/includes/mimetype.php');
echo $page->render();
?>
